#print("hello world 202235020747")
'''
import math 
#print(math.pi)


a = str(input("请输入数据："))
b = str(input("请输入数据："))

c = eval(a + b)
print (c)




s = input("请输入不超过10的字符串(不能输入a,e,i,o,u)：")

n = int(len(s))

for i in n:
    if(s[i] = 'a'||s[i] == 'e' || s[i] == 'i' || s[i] == 'o' || s[i]=='u'):
        print("*")
    print(s[i])    




x = int(input("请输入数值："))
y = int(input("请输入数值："))
z = int(input("请输入数值："))

if(x+y>z and x+z>y and y+z>x):
    c=(x+y+z)/2
    s=(c*(c-x)*(c-y)*(c-z))**0.5
    print(c)
else:
    print("您输入的数据无法组成一个三角形!")



a=int(input("请输入一个3位数:"))
sum = a

x=a%10
a//=10

y=a%10
a//=10

z=a


if((x*x*x)+(y*y*y)+(z*z*z) is sum):
   print("是")
else:
   print("否")



a = float(input("请输入您的身高(m):"))
b = float(input("请输入您的体重(kg):"))

bmi=b/(a**2)
print(bmi)

if bmi<18.5:
    print("过轻")
elif 18.5<=bmi<=23.9:
    print("正常")
elif 24<=bmi<=27:
    print("过重")
elif 28<=bmi<=32:
    print("肥胖")
elif bmi>32:
    print("非常肥胖")





a=int(input("请输入快递重量(kg):"))
b=input("请输入地区编号:")

if b == "01":
    count=13+(a-2)*3
    print(count)
elif b == "02":
    count=12+(a-2)*3
    print(count)
elif b == "03":
    count=14+(a-2)*3
    print(count)
else:
    print("您的地区编码违法！")





for i in range(1,101):
    if i%7==0 or i%10==7 or i//10==7:
        print(i,end=' ')



n=3
i=0

while i < n:
    x=input("请输入密码：")
    i=i+1
    if x == "12345":
        print("登录成功")
        break
    else :
        if i < n:
            print("您还有",n-i,"次机会")
        else:
            print("输入次数过多，请稍后再试")



for i in range(0,10):
    for j in range(1,i+1):
        print(f'{j}*{i}={i*j}',end=' ')
    print('\n')



import random as ra
num=ra.randint(1,100)

for i in range(0,6):
    x=int(input("请输入一个数字："))
    i=i+1
    if x==num:
        print("恭喜你猜对了")
        break
    elif x > num:
        print("你猜大了,你还有",5-i,"次机会")
        continue
    elif x < num:
        print("你猜小了,你还有",5-i,"次机会")
        continue
print("这个数是",num)


a=['一等奖','二等奖', '三等奖', '谢谢惠顾']

n=int(input())

if n <= 3:
    print(a[n])
else:
    print('输入错误')




print("欢迎使用好友管理系统")
print("1.添加好友")
print("2.删除好友")
print("3.备注好友")
print("4.展示好友")
print("5.退出")

a=[]
while 1:
    n = int(input("请输入您要执行的指令:"))
    if n == 5:
        print('您已退出 拜拜！')
        break
    elif  n == 1:
        name=str(input("请输入您要添加的好友:"))
        if name not in a:
            a.append(name)
            print("添加成功!")
        else:
            print("您已添加该好友")
        continue
    elif n == 2:
        name=str(input("请输入您要删除的好友:"))
        if name in a:
            a.remove(name)
            print("删除成功!")
        else :
            print("查无此人~")
        continue
    elif n == 4:
        print(a)
        continue
    elif n == 3:
        name = str(input("请输入您要备注的好友:"))
        if name in a:
            i= a.index(name)
            s = str(input("请输入备注内容:"))
            a[i] = name + s
            print("备注成功!")
        else:
            print("查无此人~")
        continue
    else:
        print('输入错误,请重新输入:')
        continue


print('1.399')
print('2.4369')
print('3.539')
print('4.288')
print('5.109')
print('6.749')
print('7.235')
print('8.190')
print('9.99')
print('10.1000')

a=[399,4369,539,288,109,749,235,190,99,1000]
b=[]
a.sort()
minnum=int(input('请输入最低价格:'))
maxnum=int(input('请输入最高价格:'))

for i in range (0,10):
    if minnum <= a[i] <= maxnum:
        b.append(a[i])
print(b)

n=int(input('请输入排序方式(1.升序 2.降序):'))

if n == 1:
    print(a)
elif n==2:
    a.sort(reverse=True)
    print(a)



a=['王','张','陈','谢','赵','齐','白','方']
b=[[],[],[]]

import random
for i in a:
    c=random.randint(0,2)
    b[c].append(i)

print(b)



a=('零','壹','贰','叁','肆','伍','陆','柒','捌','玖')

b = input('请输入您的数字:')

for i in b:
    print(a[int(i)],end=" ")



import random
sum=10000
for i in range(1,21):
    num = random.randint(1,10);
    if num<5:
        print(f'员工{i},绩效分{num},低于5，不发工资，下一位。')
        continue

    elif num>=5 and sum>=1000:
        sum=sum-1000
        print(f'向员工{i}发放工资1000元，账户余额还剩余{sum}元')
        continue

    else:
        print("工资发完了，下个月领取吧")
        break


b={'u':'Tuesday','h':'Thusday'}
weekend={'a':'Saturday','u':'Sunday'}
d={'M':'Monday', 'T':b, 'W':'Wednesday', 'F':'Friday', 'S':weekend}

m=input('请输入：').upper()

if m in d:
    if d[m] == b or d[m] == weekend:
        n = input("请输入第二个字符：").lower()
        if n in ['u','h','a']:
            print(d[m][n])
        else:
            print("请重新输入")
    else:
        print(d[m])

'''



























